﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EventbriteService.Model
{
    public class Category
    {
        public int? Id { get; set; }
        public Category() { SubCategories = new List<SubCategory>(); }
        public string Name { get; set; }
        public string NameLocalized { get; set; }
        public string ShortName { get; set; }
        public List<SubCategory> SubCategories { get; set; }

    }

    public class SubCategory
    {
        public int? Id { get; set; }
        public SubCategory() { ParentCategory = new Category(); }
        public string Name { get; set; }
        public Category ParentCategory { get; set; }
    }
}
